home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
startx.z
/
startx
Wrap
Text File
|
1998-10-20
|
6KB
|
133 lines
SSSSTTTTAAAARRRRTTTTXXXX((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) SSSSTTTTAAAARRRRTTTTXXXX((((1111))))
NNNNAAAAMMMMEEEE
startx - initialize an X session
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ssssttttaaaarrrrttttxxxx [ [ _c_l_i_e_n_t ] _o_p_t_i_o_n_s ... ] [ -------- [ _s_e_r_v_e_r ] _o_p_t_i_o_n_s
... ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
NOTE: The _s_t_a_r_t_x script supplied with the X11 distribution
is a sample designed more as a base for customization than
as a finished product. Site administrators are urged to
customize it for their site. And to update this manual page
when they do!
The _s_t_a_r_t_x script is a front end to _x_i_n_i_t that provides a
somewhat nicer user interface for running a single session
of the X Window System. It is typically run with no
arguments.
To determine the client to run, _s_t_a_r_t_x first looks for a
file called ._x_i_n_i_t_r_c in the user's home directory. If that
is not found, it uses the file _x_i_n_i_t_r_c in the _x_i_n_i_t library
directory. If command line client options are given, they
override this behavior. To determine the server to run,
_s_t_a_r_t_x first looks for a file called ._x_s_e_r_v_e_r_r_c in the
user's home directory. If that is not found, it uses the
file _x_s_e_r_v_e_r_r_c in the _x_i_n_i_t library directory. If command
line server options are given, they override this behavior.
Users rarely need to provide a ._x_s_e_r_v_e_r_r_c file. See the
_x_i_n_i_t(1) manual page for more details on the arguments.
The ._x_i_n_i_t_r_c is typically a shell script which starts many
clients according to the user's preference. When this shell
script exits, _s_t_a_r_t_x kills the server and performs any other
session shutdown needed. Most of the clients started by
._x_i_n_i_t_r_c should be run in the background. The last client
should run in the foreground; when it exits, the session
will exit. People often choose a session manager, window
manager, or _x_t_e_r_m as the ``magic'' client.
EEEEXXXXAAAAMMMMPPPPLLLLEEEE
Below is a sample ._x_i_n_i_t_r_c that starts several applications
and leaves the window manager running as the ``last''
application. Assuming that the window manager has been
configured properly, the user then chooses the ``Exit'' menu
item to shut down X.
xrdb -load $HOME/.Xresources
xsetroot -solid gray &
xbiff -geometry -430+5 &
oclock -geometry 75x75-0-0 &
xload -geometry -80-0 &
Page 1 (printed 4/30/98)
SSSSTTTTAAAARRRRTTTTXXXX((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) SSSSTTTTAAAARRRRTTTTXXXX((((1111))))
xterm -geometry +0+60 -ls &
xterm -geometry +0-100 &
xconsole -geometry -0+0 -fn 5x7 &
exec twm
EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
DISPLAY This variable gets set to the name
of the display to which clients
should connect. Note that this
gets _s_e_t, not read.
FFFFIIIILLLLEEEESSSS
$(_H_O_M_E)/._x_i_n_i_t_r_c Client to run. Typically a shell
script which runs many programs in
the background.
$(_H_O_M_E)/._x_s_e_r_v_e_r_r_c Server to run. The default is _X.
<_X_R_o_o_t>/_l_i_b/_X_1_1/_x_i_n_i_t/_x_i_n_i_t_r_c
Client to run if the user has no
._x_i_n_i_t_r_c file. <XRoot> refers to
the root of the X11 install tree.
<_X_R_o_o_t>/_l_i_b/_X_1_1/_x_i_n_i_t/_x_s_e_r_v_e_r_r_c
Client to run if the user has no
._x_s_e_r_v_e_r_r_c file. This is only
needed if the server needs special
arguments or is not named. <XRoot>
refers to the root of the X11
install tree.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_x_i_n_i_t(1)
Page 2 (printed 4/30/98)